import requests

class Zzh_Shoppinglist(object):
    @classmethod
    def shoppinglist(cls,headers,json_data):
        resp = requests.post(
            url="https://dwglc.ischinese.cn/api/order/web/shopping/shoppingList",
            headers = headers,
            json=json_data)
        # resp1= resp.json()
        return resp
        # return (resp.json().get("data").get("token"))

if __name__ == '__main__':
    json_data={"data":{"pageNum":100,"pageSize":1}}
    resp=Zzh_Shoppinglist.shoppinglist(json_data)
    print(resp)
    print(resp.json())